package com.zmn.mcc.business.interfaces.role;


import com.zmn.mcc.common.dto.role.McRoleChangeLogDIO;
import com.zmn.mcc.common.dto.role.McRoleChangeLogQuery;
import com.zmn.mcc.model.entity.role.McRoleChangeLog;

import java.util.List;

/**
 * @author: xuyanghong
 * @since: 2022-07-18
 * description:
 */
public interface RoleChangeLogBService {

    /**
     * 新增
     *
     * @param mcRoleChangeLogDIO
     * @return
     */
    Integer addMcRoleChangeLog(McRoleChangeLogDIO mcRoleChangeLogDIO);

    /**
     * 修改
     *
     * @param mcRoleChangeLogDIO
     * @return
     */
    Integer modifyMcRoleChangeLog(McRoleChangeLogDIO mcRoleChangeLogDIO);

    /**
     * 分页查询
     *
     * @param mcRoleChangeLogQuery
     * @return
     */
    List<McRoleChangeLog> listPageMcRoleChangeLog(McRoleChangeLogQuery
                                                          mcRoleChangeLogQuery);

    /**
     * 分页查询
     *
     * @param mcRoleChangeLogDIO
     * @return
     */
    List<McRoleChangeLog> listRoleChangeLog(McRoleChangeLogDIO mcRoleChangeLogDIO);

    /**
     * 通过id 查询信息
     *
     * @param id
     * @return
     */
    McRoleChangeLog getMcRoleChangeLogById(Long id);

}
